/**
 * 项目名称:
 *
 * @Author: 夏国倩
 * @Date: 2023/10/13 15:32
 * @Copyright
 */
package wait;

public class Resource {
    public String name;
    public String sex;
    public boolean flag;

    public Resource() {
    }

    public Resource(String name, String sex, boolean flag) {
        this.name = name;
        this.sex = sex;
        this.flag = flag;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "Resource{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", flag=" + flag +
                '}';
    }
}
